package com.hs.auth.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hs.auth.dao.IRoleDao;
import com.hs.auth.service.IRoleService;
import com.hs.core.dao.IBaseDao;
import com.hs.core.service.impl.BaseSevice;
import com.hs.core.utils.PageParam;
import com.hs.core.utils.PageUtil;
@Service 
public class RoleService  extends BaseSevice implements IRoleService{

	private IRoleDao roleDao;
	@Override
	public IBaseDao getBaseDao() {
		// TODO Auto-generated method stub
		return roleDao;
	}
	@Autowired
	public void setRoleDao(IRoleDao roleDao) {
		this.roleDao = roleDao;
	}

	public PageUtil getRoleList(PageParam pageParam){
		return this.roleDao.getRoleList(pageParam);
	}

	
}
